package cn.iocoder.yudao.module.handguard.controller.admin.order.vo;

import lombok.*;

import java.math.BigDecimal;
import java.util.*;
import io.swagger.v3.oas.annotations.media.Schema;
import cn.iocoder.yudao.framework.common.pojo.PageParam;
import java.time.LocalDateTime;
import org.springframework.format.annotation.DateTimeFormat;

import static cn.iocoder.yudao.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;

@Schema(description = "管理后台 - 订单 Excel 导出 Request VO，参数和 OrderPageReqVO 是一致的")
@Data
public class OrderExportReqVO {

    @Schema(description = "订单号")
    private String orderNo;

    @Schema(description = "用户ID", example = "18268")
    private Long userId;

    @Schema(description = "申请时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] applyTime;

    @Schema(description = "申请人")
    private String applyUser;

    @Schema(description = "预估额度")
    private BigDecimal amount;

    @Schema(description = "实际放款额度")
    private BigDecimal practicalAmount;

    @Schema(description = "订单状态 1.资料审核、2.银行面签填贷款申请表、3.考察抵押物和经营场所、4.银行出批复5.银行面签抵押合同和借款合同、6.办理抵押、7.办公证、8.放款")
    private String orderState;

    @Schema(description = "1:完成，0未完成")
    private String states;

    @Schema(description = "是否智能匹配")
    private String whether;

    @Schema(description = "产品id", example = "29084")
    private Long productId;

    @Schema(description = "业务员id", example = "22513")
    private Long agentId;

    @Schema(description = "权证用户id", example = "5216")
    private Long equityUserId;

    @Schema(description = "创建时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] createTime;

}
